package com.bolun998300.personal_blog_springboot.controller.forepage;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class ForePageController {

    @GetMapping(value="/")
    public String index(){
        return "redirect:home";
    }
    @GetMapping(value="/home")
    public String home(){
        return "forepage/home";
    }
    
    @GetMapping(value="/article")
    public String article() {
    	return "forepage/article";
    }
    
    @GetMapping(value="/detail")
    public String detail() {
    	return "forepage/detail";
    }
    
    @GetMapping(value="/about")
    public String about() {
    	return "forepage/about";
    }

    @GetMapping(value = "/timeline")
    public String timeLine(){
        return "forepage/timeline";
    }
    
    @GetMapping("/tag")
    public String tag() {
    	return "forepage/tag";
    }

}
